package com.tancire.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 会员任务对象 member_task
 *
 * @author tancire
 * @date 2024-10-29
 */
public class MemberTask extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 所属会员
     */
    @Excel(name = "所属会员")
    private Long memberId;

    /**
     * 会员账号
     */
    @Excel(name = "会员账号")
    private String memberAccount;

    /**
     * 任务日期
     */
    @Excel(name = "任务日期")
    private String taskDay;

    /**
     * 分享任务
     */
    @Excel(name = "分享任务")
    private Integer shareTask;

    /**
     * 视频任务
     */
    @Excel(name = "视频任务")
    private Integer advTask;

    /**
     * 比赛任务
     */
    @Excel(name = "比赛任务")
    private Integer raceTask;

    /**
     * 0 正常  1 删除  真删除，字段保留
     */
    private Long delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberAccount(String memberAccount) {
        this.memberAccount = memberAccount;
    }

    public String getMemberAccount() {
        return memberAccount;
    }

    public void setTaskDay(String taskDay) {
        this.taskDay = taskDay;
    }

    public String getTaskDay() {
        return taskDay;
    }

    public void setShareTask(Integer shareTask) {
        this.shareTask = shareTask;
    }

    public Integer getShareTask() {
        return shareTask;
    }

    public void setAdvTask(Integer advTask) {
        this.advTask = advTask;
    }

    public Integer getAdvTask() {
        return advTask;
    }

    public void setRaceTask(Integer raceTask) {
        this.raceTask = raceTask;
    }

    public Integer getRaceTask() {
        return raceTask;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("memberId", getMemberId())
                .append("memberAccount", getMemberAccount())
                .append("taskDay", getTaskDay())
                .append("shareTask", getShareTask())
                .append("advTask", getAdvTask())
                .append("raceTask", getRaceTask())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
